<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Cadastrar Novo Anuncio</title>
</head>
<body>
<f:view>
	<h:form>
	<h:inputHidden value="#{usuario.novo.codigo}"></h:inputHidden>
	<h:panelGrid border="1" columns="2" cellspacing="1">
	<h:outputText value="Resumo: "> </h:outputText>
	<h:inputText value="#{usuario.novo.resumo }"></h:inputText>
	<h:outputText value="Detalhes"></h:outputText>
	<h:inputTextarea value="#{usuario.novo.detalhes }"></h:inputTextarea>
	<h:commandButton value="Anunciar" action="#{usuario.adicionarAnuncio}"></h:commandButton>
	<h:commandLink value="Voltar" action="voltar"></h:commandLink>
	</h:panelGrid>
	</h:form>
</f:view>
</body>
</html>